﻿<?
/*调用首页banner*/


include_once("base.php");



//用封装的语句获取对应的数据
$_banner_list=select_lines_items($table_prefix."detail","nid desc","banner","belong = 'banner' and banner_term = '1' and publish = '1' ","1");

 
//print_r2($_banner_list);打印数据



//为了保持格式，result为输出结果。这里把上面语句得到的结果赋值。
$result=$_banner_list;
 
//按照格式输出数据
echo out("success",0,$result);


?>